package com.mc.moring.netconfig

import okhttp3.RequestBody
import okhttp3.ResponseBody
import retrofit2.Response
import retrofit2.http.Body
import retrofit2.http.POST

/**
 * <pre>
 *     author : kuang
 *     time   : 2023/11/29
 *     desc   :
 *     version: 1.0
 * </pre>
 */
interface ApiLoanServer {

    @POST("/remote/loan_manvtl/calLoan")
    suspend fun loancalLoan(@Body string: RequestBody): Response<ResponseBody>
    @POST("/remote/bank_manvtl/bindAccount")
    suspend fun bankbindAccount(@Body string: RequestBody): Response<ResponseBody>
    @POST("/remote/user_manvtl/finishPersonalInfo")
    suspend fun finishPersonalInfo(@Body string: RequestBody): Response<ResponseBody>
    @POST("/remote/bank_manvtl/getBankAccountList")
    suspend fun bankgetBankAccountList(@Body string: RequestBody): Response<ResponseBody>
    @POST("/remote/bank_manvtl/getPayBankList")
    suspend fun bankgetPayBankList(@Body string: RequestBody): Response<ResponseBody>
    @POST("/remote/loan_manvtl/applyLoan")
    suspend fun loanapplyLoan(@Body string: RequestBody): Response<ResponseBody>
    @POST("/remote/loan_manvtl/getLastUnpaidOffLoan")
    suspend fun loangetLastUnpaidOffLoan(@Body string: RequestBody): Response<ResponseBody>
    @POST("/remote/loan_manvtl/getLoanSummaryByPaymentId")
    suspend fun getLoanSummaryByPaymentId(@Body string: RequestBody): Response<ResponseBody>





}